package com.jxgk.application.mapper;

import com.jxgk.application.pojo.User;
import com.sun.tools.javac.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends tk.mybatis.mapper.common.Mapper<User> {

@Select("select * from user where nam=#{nam} and pwd=#{pwd}")
    User login(User user);
}
